package core;

import java.util.Set;
import persistence.Game;
import persistence.Team;

public interface IGameDAO extends IDAO<Game> {

    Set<Game> getGamesByLeague(int idLeague);

    Set<Game> getGamesByTournament(int idTournament);

    Set<Game> getGamesByTeam(int idTeam);

    Set<Game> getGamesByOwner(int idUser);

    Set<Game> getGamesByPlayer(int idPlayer);

    Team getWinner(int id);
}
